package proxy;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 顾客类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-2-5
 */
public class Customer {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"proxy/applicationContext.xml");

		Company company = (Company) context.getBean("sale");
		company.sc();
	}
}
